<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Delete all messages marked for deletion</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imap-errors.html">imap_errors</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imap-fetch-overview.html">imap_fetch_overview</a></div>
 <div class="up"><a href="ref.imap.html">IMAP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.imap-expunge" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_expunge</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imap_expunge</span> &mdash; <span class="dc-title">Delete all messages marked for deletion</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.imap-expunge-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>imap_expunge</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$imap_stream</code></span>
   )</div>

  <p class="para rdfs-comment">
   Deletes all the messages marked for deletion by 
   <span class="function"><a href="function.imap-delete.html" class="function">imap_delete()</a></span>, <span class="function"><a href="function.imap-mail-move.html" class="function">imap_mail_move()</a></span>, or
   <span class="function"><a href="function.imap-setflag-full.html" class="function">imap_setflag_full()</a></span>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.imap-expunge-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    <dt>
<em><code class="parameter">
imap_stream</code></em></dt>
<dd>
<p class="para">由 <span class="function"><a href="function.imap-open.html" class="function">imap_open()</a></span> 返回的 IMAP 流。</p></dd>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.imap-expunge-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong>.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imap-errors.html">imap_errors</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imap-fetch-overview.html">imap_fetch_overview</a></div>
 <div class="up"><a href="ref.imap.html">IMAP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
